package com.zf.rpc.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ProjectName: RPC-zhaofeng
 * @Package: com.zf.simpleImplementation
 * @ClassName: ResponseCode
 * @Author: zf
 * @Description:
 * @Date: 2021/5/6 19:29
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {
    SUCCESS(200,"调用方法成功"),
    FAIL(500, "调用方法失败"),
    METHOD_NOT_FOUND(500, "未找到指定方法"),
    CLASS_NOT_FOUND(500, "未找到指定类");

    private final int code;
    private final String message;
}
